package com.ihg.hiex.admin.service.session.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.demo2do.core.persistence.annotation.Dao;
import com.ihg.hiex.admin.dao.data.ConferenceRoomDao;
import com.ihg.hiex.admin.service.DataServiceImpl;
import com.ihg.hiex.admin.service.session.ConferenceRoomService;
import com.ihg.hiex.entity.data.conference.ConferenceRoom;
import com.ihg.hiex.entity.data.conference.Type;

/**
 *
 * @author Ark
 *
 */
@Service("conferenceRoomService")
public class ConferenceRoomServiceImpl extends DataServiceImpl<ConferenceRoom> implements ConferenceRoomService {

    @Dao
    private ConferenceRoomDao conferenceRoomDao;
    
    /* (non-Javadoc)
     * @see com.ihg.hiex.admin.service.session.ConferenceRoomService#list(com.ihg.hiex.entity.data.conference.Type)
     */
    public List<ConferenceRoom> list(Type type) {
        return conferenceRoomDao.list(type);
    }

}
